﻿
namespace ModulesToolkit.Membership.Views
{
    using ModulesToolkit.DataContracts;
    using ModulesToolkit.DataContracts.Membership;

    public interface IRolesListView
    {
        int EditingId
        {
            get;
            set;
        }
        Role Role
        {
            get;
            set;
        }
        RolesSearchCriteria SearchCriteria
        {
            get;
        }
        ScreensSearchCriteria ScreensSearchCriteria
        {
            get;
        }
        ScreenRightDtoSearchCriteria ScreenRightSearchCriteria
        {
            get;
        }
        void FillRolesList(EntitySearchResult<Role> entitySearchResult);
        void FillRightsList(EntitySearchResult<ScreenRightsDto> rightsList);
        void ShowDetailsPopup();
        void FillScreensAccordion(EntitySearchResult<Screens> screens);
        void FillScreenRights(EntitySearchResult<ScreenRightsDto> screenRight);
    }
}




